Method of determination of electrolytes